function DAMN(){    // pending  fulfilled  rejected
    return new Promise((resolve,reject)=>{  // {status: pending  -> fulfilled}
    setTimeout(()=>{
        console.log('我要上A');
        resolve()  // {status: fulfilled}
    },2000)
    
    })
}

function M3(){
    return new Promise((resolve,reject)=>{
        setTimeout(()=>{
        console.log('我要上S');
        resolve()  // {status: fulfilled}
        })      
    },1000)
    }


function SHIT(){
    console.log('我要上金S');
}

DAMN().then(()=>{
    M3().then(()=>{
        SHIT()  
    })        
})

// DAMN().then(()=>{
//     return M3()
// }).then(()=>{
//     return SHIT()
// })
        
